import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var text = new zrender.Text({
    style: {
      fill: 'none',
      stroke: 'red',
      lineWidth: 4,
      text: 'hello zRender',
      fontSize: 40,
      textShadowBlur: 4,
      textShadowColor: 'green'
    },
    cursor: 'pointer',
    draggable: true
  })
  zr.add(text)
}